package com.qf.mvc2203.ex;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserException extends RuntimeException {
    private String code; // 异常编号，例如，001代表用户名重复

    private String msg;  // 异常的自定义消息
}
